//
// Created by ASUS on 2024/4/25/星期四.
//
//f[i]=max(f[i-1],0)+a[i];ans=max(ans,f[i]);